class GiftClassifyEntity {
	int id;
	int parent;
	String name;
	int sort;
	String createdAt;
	String updatedAt;

	GiftClassifyEntity(
			{this.id,
				this.parent,
				this.name,
				this.sort,
				this.createdAt,
				this.updatedAt});

	GiftClassifyEntity.fromJson(Map<String, dynamic> json) {
		id = json['id'];
		parent = json['parent'];
		name = json['name'];
		sort = json['sort'];
		createdAt = json['created_at'];
		updatedAt = json['updated_at'];
	}

	Map<String, dynamic> toJson() {
		final Map<String, dynamic> data = new Map<String, dynamic>();
		data['id'] = this.id;
		data['parent'] = this.parent;
		data['name'] = this.name;
		data['sort'] = this.sort;
		data['created_at'] = this.createdAt;
		data['updated_at'] = this.updatedAt;
		return data;
	}
}